;(function () {
    tinymce.PluginManager.add("fileman", function (editor) {
        editor.ui.registry.addMenuItem("fileman", {
          icon: "image",
          text: "测试",
          shortcut: "Ctrl+J",
          onAction: function (e) {
            console.log(e);
            // fileman.launch("editor");
            console.log(`fileman自定义菜单被点击`);
            // 取消默认的e功能
            // e.preventDefault();
            console.log(`fileman自定义菜单被点击3`);
          },
          context: "insert",
          prependToContext: true,
        });
      });
  })()